<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="Content-Type" content="text/html">
	<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
	<meta name="format-detection" content="telephone=no">
	<meta name="format-detection" content="email=no">
	<title>忘记密码</title>
	<link rel="stylesheet" href="css/忘记.css">
	<link rel="stylesheet" type="text/css" href="font_9bxjp1ahqrcw61or/iconfont.css"/>
	<script src="assets/flexible/flexible.debug.js"></script>
	<script src="assets/flexible/flexible_css.debug.js"></script>
	
</head>
<body>
	<div class="headertop">
		<i	 class="iconfont icon-qianjin-copy left"></i>
		<div class="_top">忘记密码</div>
		<p></p>
 	</div>

    <div class="_bottom_2">
    	<div class="shouji">
    		<i class="iconfont icon-83"></i>
            <input type="text" class="phone" placeholder="请输入手机号码"/>
    	</div>
    	<div class="yanzhengma">
    		<i class="iconfont icon-youxiang"></i>
            <input type="text" class="password" placeholder="请输入验证码"/>
            <span>获取验证码</span>
    	</div>
        <div class="_next">
        	<h3 class="btn">下一步</h3>
        </div>    
            
	</div>
    
    <script src="js/jquery-3.2.1.js"></script>
    <script type="text/javascript">
    	$(function(){
				$(".headertop .left").on("touchstart",function(){
					location.href = "indexdeng.html"
				})
				
				function set(name,value){
					localStorage.setItem(name,value);
				}
				function get(name){
					return localStorage.getItem(name);
				}
				$("._next .btn_").on("touchstart",function(){
					var tet = $(".xieCheng .ipt").val();
					var password_ = $(".xieCheng .password").val();
//					console.log(tet)
					var obj = {
						"nane":tet,
						"age":password_
					}
					if(tet == ''  || password_ == ''){
						alert("文本框不能为空")
					}else{
						var index = get("setItem_");
					if(index){
						index = JSON.parse(index);
						index.push(obj);
						set("setItem_",JSON.stringify(index));
					}else{
						set("setItem_",JSON.stringify([obj]));
					}
					$(".xieCheng .ipt").val("");
					$(".xieCheng .password").val("");
					location.href = "indexdeng.html"
					}
				})
				
			})
			$(function(){
				$(".icon-qianjin-copy").on("touchstart",function(){
					location.href = "登录页面.html"
				})
				$(".btn").on("touchstart",function(){
					location.href = "登录页面.html"
				})
			})
    </script>
       
    
</body>
</html>
